<?php
class cityArea extends baseModel {
	private static $instance;
	
	function __construct() {
		parent::__construct();
	}
	
	public static function newInstance() {
		if (! self::$instance instanceof self) {
			self::$instance = new self ();
		}
		return self::$instance;
	}
	
	function getTableName() {
		return 'city_area';
	}
	
        function findBySlug($slug=''){
            if($slug==''){
                return FALSE;
            }
            $args['slug']=$slug;
            $result=$this->find($args);
            if($result){
                return $result;
            }
        }
	
        
        

}

?>